package com.factory.simplefactory;

import com.factory.Car;

import java.security.MessageDigest;
import java.util.Collections;
import java.util.List;

public class Client {

    public static void main(String[] args) {
        Car bmw = CarFactory.creatCar("bmw");
        bmw.getBrand();

        Car aodi = CarFactory.creatCar("aodi");
        aodi.getBrand();


    }
}
